﻿using System;

namespace MagicSim.Common
{
    public enum CardRarity
    {
        BasicLand = 0,
        Common = 1,
        Uncommon = 2,
        Rare = 3,
        Mythic = 4,
        Timeshifted = 5
    }

    [Flags]
    enum CardType
    {
        None = 0,
        Artifact = 0x1,
        Creature = 0x2,
        Enchantment = 0x4,
        Instant = 0x8,
        Land = 0x10,
        Planeswalker = 0x20,
        Sorcery = 0x40,
        Tribal = 0x80
    }

    [Flags]
    enum CardSupertype
    {
        None = 0,
        Basic = 0x1,
        Legendary = 0x2,
        Snow = 0x4,
        World = 0x8
    }

    [Flags]
    public enum Color
    {
        None = 0,
        White = 0x1,
        Blue = 0x2,
        Black = 0x4,
        Red = 0x8,
        Green = 0x10
    }
}
